package  server.persistencia;

import java.sql.SQLException;
import java.util.ArrayList;


public abstract class DAODescripcionRol implements IDAO {

	abstract public ArrayList<Object> select(String condicion) throws SQLException;
	//Devuelve el numero de elementos insertados. 
	
	abstract public int insert(Object obj) throws SQLException ;
	abstract public int update(Object obj) throws SQLException;
	abstract public int delete(Object person) throws SQLException;
	abstract public Object find(String condicion) throws SQLException;
	abstract public void cerrarDAO() throws SQLException;
}
